#ifndef _SRC_LIBEDGEIMPL_H
#define _SRC_LIBEDGEIMPL_H

#include <string>
#include "libedge.h"
class EdgeImpl {
public:
    EdgeImpl();
    ~EdgeImpl();
    void init(const EdgeInitInfo& init){initInfo_ =init;}
    void uploadRealData(const std::string& value);
    void uploadEventData(const std::string& value);
    void setInterface(Edge* interface){interface_ = interface;}
private:
    void onRecieve(const std::string& param);//接收框架发的信息
    void onLog(const std::string& param);
    
private:
    EdgeInitInfo initInfo_;
    Edge* interface_;
};

#endif